package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * 问题实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Problem")
public class Problem extends BaseModel {
    @PrimaryKey
    @Field("ProblemCode")
    private String problemCode;//问题编码
    @Field("ProblemTypeCode")
    private String problemTypeCode;//问题类型编码
    @Field("ProblemTypeName")
    private String problemTypeName;//问题类型编码
    @Field("ProblemName")
    private String problemName;//问题名称
    @Field("Option")
    private String option;//问题选项
    @Field("CreateTime")
    private LocalDateTime createTime;
    @Field("UpdateTime")
    private LocalDateTime updateTime;
}
